package cn.jsj.cxsys.pojo;

import org.jetbrains.annotations.*;

public class Singin implements Comparable<Singin>
{
    private int value;
    private String name;

    public int getValue() {
        return this.value;
    }

    public void setValue(final int value) {
        this.value = value;
    }

    public String getName() {
        return this.name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    @Override
    public int compareTo(@NotNull final Singin o) {
        return this.value - o.value;
    }
}
